﻿using System.Web.Mvc;

namespace NBlog.Web.Application.Infrastructure
{
    public static class UrlHelperExtensions
    {
        public static string ContentImage(this UrlHelper urlHelper, string themeName, string imageSrc)
        {
            return urlHelper.Content(string.Format("~/themes/{0}/resources/img/{1}", themeName, imageSrc));
        }
    }
}